package boot.lijf.tools;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class FastjsonTool {

    private static JSONObject object = new JSONObject();

    public static String toString(Object obj){

        return JSONObject.toJSONString(obj, SerializerFeature.WriteNullStringAsEmpty);
    }

}
